/**
 * Copyright &copy; 2012-2014 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.warehouse.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.thinkgem.jeesite.common.persistence.Page;
import com.thinkgem.jeesite.common.service.CrudService;
import com.thinkgem.jeesite.modules.warehouse.entity.Vendor;
import com.thinkgem.jeesite.modules.warehouse.dao.VendorDao;

/**
 * vendorService
 * @author qrg
 * @version 2017-08-09
 */
@Service
@Transactional(readOnly = true)
public class VendorService extends CrudService<VendorDao, Vendor> {

	public Vendor get(String id) {
		return super.get(id);
	}
	
	public List<Vendor> findList(Vendor vendor) {
		return super.findList(vendor);
	}
	
	public Page<Vendor> findPage(Page<Vendor> page, Vendor vendor) {
		return super.findPage(page, vendor);
	}
	
	@Transactional(readOnly = false)
	public void save(Vendor vendor) {
		super.save(vendor);
	}
	
	@Transactional(readOnly = false)
	public void delete(Vendor vendor) {
		super.delete(vendor);
	}
	
}